import React from 'react'

class SuggestionSettingTools extends React.Component {

  constructor(props) {
    super(props)
  }

  onAllCheckChanged(event) {
    var value = event.target.checked
    this.props.onAllCheckChanged(value)
  }

  render() {
    return (
      <div className="demo-setting-tools row">
        <div className="checkbox col-xs-1 col-sm-1 col-sm-offset-10 col-xs-offset-10">
          <label><input type="checkbox" value="" onChange={(event)=>this.props.onAllCheckChanged(event.target.checked)}/>全部</label>
        </div>

      </div>
    )
  }

}

export default SuggestionSettingTools
